Spread Windows Forms 12.0 Product Documentation
Exists<TTarget>() Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > CollectionBase<T> Class > Exists Method : Exists<TTarget>() Method
Determines whether the List contains elements that match the conditions defined by the specified predicate.
Syntax
'Declaration
 
Public Overloads Function Exists(Of TTarget As T)() As Boolean
'Usage
 
Dim instance As CollectionBase(Of T)
Dim value As Boolean
 
value = instance.Exists(Of TTarget)()
public bool Exists<TTarget>()
where TTarget: T

Type Parameters

TTarget

Return Value

true if the List contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
See Also

Reference

CollectionBase<T> Class
CollectionBase<T> Members
Overload List